<%--
  Created by IntelliJ IDEA.
  User: 111
  Date: 2024/10/14
  Time: 21:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
${user.user_name},登录成功！

    <center>
        <table border="1px">
            <tr>
                <th>编号</th>
                <th>姓名</th>
                <th>操作</th>
            </tr>
            <c:forEach items="${list}" var="u">
                <tr>
                    <td>${u.user_id}</td>
                    <td>${u.user_name}</td>
                    <td>
                        <a href="">修改</a>
                        <a href="">删除</a>
                    </td>
                </tr>
            </c:forEach>
            <tr>
                <td colspan="3">
                    <a href="/user/getUsers.do">首页</a>
                    <a href="/user/getUsers.do?pageIndex=${pageIndex-1}">上一页</a>
                    <a href="/user/getUsers.do?pageIndex=${pageIndex+1}">下一页</a>
                    <a href="/user/getUsers.do?pageIndex=${totalPage}">尾页</a>
                </td>
            </tr>

        </table>
    </center>

</body>
</html>
